{{ define "list/list.html" }}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0 auto;
            padding: 0;
        }
        body{
            background: url("../../static/img/beijing.jpg") no-repeat;
            background-size: cover;
        }

        /*.beijing {*/
        /*    width: auto;*/
        /*    !*height: 1000px;*!*/
        /*    height: auto;*/
        /*    background: url("../../static/img/beijing.jpg") no-repeat;*/
        /*    background-size: cover;*/
        /*    background-attachment: fixed;*/


        }

        #h1 {
            margin-left: 610px;
            color: rgb(51, 106, 241);
            text-shadow: 10px 10px 10px rgba(51, 106, 241, .7);
            font-style: oblique;
            font-size: 75px;
        }

        .table {
            width: 1275px;
            height: 650px;
            border: 1px solid;
            border-collapse: collapse;
            margin: 221px auto;
            font-size: 14px;
        }

        th {
            border: solid 1px;
            text-align: center;
            background-color: rgb(242, 242, 242);
            padding-top: 8px;
            padding-bottom: 8px;
        }

        td {
            border: solid 1px;
            padding-top: 8px;
            padding-bottom: 8px;
            text-align: center;
        }

        tr:hover {
            background-color: rgb(242, 242, 242);
        }

        .time {
            float: right;
            width: 200px;
            height: 50px;
            font-size: 14px;
            font-weight: 700;
            margin-top: 163px;
            margin-right: 265px;
        }

        .tupian {
            background-color: seagreen;
            width: 122px;
            height: 122px;
            float: left;
            margin: 69px 0px 0px -218px;
            background: url(../../static/img/优慕课.png) no-repeat;
            background-size: cover
        }

        .xing {
            float: left;
            width: 55px;
            height: 40px;
            background-color: rgb(145, 158, 157);
            margin: 151px 0px 0px -96px;
            font-size: 20px;
            font-weight: 700;
            line-height: 40px;
            border-radius: 17px;
            text-align: center;

        }

        .ming {
            float: left;
            width: 75px;
            height: 40px;
            background-color: springgreen;
            margin: 151px 0px 0px -40px;
            font-size: 20px;
            font-weight: 700;
            border-radius: 17px;
            line-height: 40px;
            text-align: center;
        }

        .xiaohui {
            width: 500px;
            height: 150px;
            background-color: black;
            float: left;
            background: url(../../static/img/校徽2.png) no-repeat;
        }
        .button {
            display: inline-block;
            padding: 10px 15px;
            font-size: 10px;
            text-align: center;
            outline: none;
            color: #fff;
            background-color: sandybrown;
            border: none;
            border-radius: 15px;
            box-shadow: 0 4px #999;
        }

        .button:hover {
            background-color: sandybrown;

        }

        .button:active {
            background-color: sandybrown;

            box-shadow: 0 5px #666;
        }
        .xia{
            width: auto;
            height: 100px;
            background-color: rgb(216,198,143);
            text-align: center;
            font-size: 60px;
        }
        <!--<img src="../../static/img/校徽2.png" height="103" width="330"/><img src="../../static/img/校徽2.png" height="103"-->  <!--                                                                   width="330"/></style>
</head>

<body>
    <div class="beijing">
        <div class="xiaohui"></div>
        <h1 id="h1">优慕课刷课平台8.0</h1>
        <div class="tupian"></div>
        <div class="xing">姓名:</div>
        <div class="ming">{{.list.Realname}}</div>
        <div class="time"> 最后一次登录时间：{{.list.LastLoginDate}}</div>
        <table class="table" >
            <tr>
                <th>学号</th>
                <th>课程名称</th>
                <th>任课老师</th>
                <th>课程代号</th>
                <th>访问课程次数</th>
                <th>课程学习时间</th>
                <th>功能</th>
            </tr>
            {{range .test}}
                <tr>
                    <td>{{.Username}}</td>
                    <td>{{.Coursename}}</td>
                    <td>{{.Realname}}</td>
                    <td>{{.Order1}}</td>
                    <td>{{.EnterCount}}</td>
                    <td>{{.InLessonTime}}分钟</td>
                    <td><button class="button">提交</button></td>
                </tr>
            {{end}}

        </table>
<!--        <div class="xia">济宁职业技术学院电子信息工程系大数据技能组出品</div>-->
    </div>
</body>

</html>
{{end}}